AMem\Avatar C

Total Complexity 125
Dependencies 6
Dependents 0
Total lines 823
Lines of code 588
Logical lines of code 330
Comment lines 52
Methods 32
Properties 13

Methods 32

Method Rating Maintainability Complexity Lines of code
create_crop()
C
27
26 145
rest_api_upload_callback()
B
32 13 118
get_avatar()
A
46 12 35
get_user_id()
A
57 8 17
make_subsizes()
S
51 7 27
extension_list_to_mime_array()
S
53 7 23
get_closest_number()
S
63 4 11
get_avatar_data()
S
64 4 9
filter_get_avatar_url()
S
64 4 9
rest_api_check_nonce()
S
59 3 15
avatar_sizes()
S
59 3 14
__construct()
S
54 2 20
get_closest_larger()
S
67 3 8
acf_upload_prefilter()
S
66 3 9
debug()
S
72 3 5
rest_api_init()
S
55 1 23
initialize_settings()
S
58 1 16
logger()
S
70 2 6
get_avatar_dir()
S
67 2 8
get_temp_path()
S
67 2 8
rest_api_cancel_crop_callback()
S
62 2 10
log_error()
S
68 2 7
cleanup()
S
75 2 5
jpeg_quality()
S
79 1 3
ajax_avatar_crop()
S
67 1 7
rest_api_crop_callback()
S
71 1 6
detect_avatar_upload()
S
75 1 4
include_field_types()
S
80 1 3
crop()
S
77 1 3
get_default_avatar()
S
79 1 3
upload_dir()
S
67 1 8
temp_upload_dir()
S
81 1 3